package com.tcat.item.pojo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@ApiModel(description = "SpuDetail")
@Table(name="tb_spu_detail")
@Data
public class SpuDetail {
    // 对应的SPU的id

    @Id
    @Column(name="spu_id")
    private Long spuId;
    // 商品描述

    private String description;
    // 商品特殊规格的名称及可选值模板

    @Column(name="special_spec")
    private String specialSpec;
    // 商品的全局规格属性

    @Column(name="generic_spec")
    private String genericSpec;
    // 包装清单

    @Column(name="packing_list")
    private String packingList;
    // 售后服务

    @Column(name="after_service")
    private String afterService;

}